<?php

/*
$conn=@mysql_connect("xmtangda2.db.6612972.hostedresource.com","xmtangda2","tanxiang22H") or die ("数据库链接错误");//z正式库
//$conn=@mysql_connect("xmtangda.db.6023790.hostedresource.com","xmtangda","tanxiang22H") or die ("数据库链接错误");//z正式库

//mysql_select_db("xmtangda2",$conn);
mysql_query("set names 'utf8'");
*/

$conn=@mysql_connect("localhost","linweiyi","LINweiyi,./890") or die ("数据库链接错误");//测试库
mysql_select_db("linweiyi",$conn);
mysql_query("set names 'utf8'");


$dbname = "linweiyi";//数据库名
$databasepre = "szjx_";//表的前缀 推荐 小写zbag_

?>